<template>
  <div>{{ value.name }}</div>
  <testGrandChild :value="value.data"></testGrandChild>
</template>
<script setup lang="ts">
import testGrandChild from "./testGrandChild.vue";
const TYPEDATA = {
  name: "LINZHE",
  data: {
    options: [
      { label: "aaa", value: 1 },
      { label: "bbb", value: 2 },
    ],
    data: {
      data: { name: "testObj" },
    },
  },
};
type PropsType = {
  value: typeof TYPEDATA;
};
const props = defineProps<PropsType>();
</script>
